<template>
  <view class="home_content">
    <div class="headline">
      <h2>Schedule</h2>
    </div>
    <swiper></swiper>
    <div class="button">
      <div class="left">Complete</div>
      <div class="right">Result</div>
    </div>
    <div class="cart">
      <div class="cartleft"><img src="" alt="" /></div>
      <div class="cartright">
        <div class="name">Dr. Emmly Lestiryno</div>
        <div class="job">Child Specialist</div>
        <div class="time">
          <div class="week">Today</div>
          <div class="what_time">14:30 - 15:30 AM</div>
        </div>
        <div class="x_button">
          <div class="left_button">Rating</div>
          <div class="right_button">Appoitment</div>
        </div>
      </div>
    </div>
  </view>
</template>

<script>
import swiper from "../../components/Swiper/Swiper.vue";
export default {
  data() {
    return {};
  },
  components: {
    swiper,
  },
};
</script>

<style lang="scss" scoped>
.home_content {
  padding: 32rpx 48rpx;
  .headline {
    h2 {
      //   width: 166rpx;
      height: 52rpx;
      color: rgb(23, 23, 37);
      font-family: Plus Jakarta Sans;
      font-size: 36rpx;
      font-weight: 700;
      line-height: 52rpx;
      letter-spacing: 0.004999999888241291%;
      text-align: center;
    }
  }
  .button {
    display: flex;
    justify-content: center;
    margin: 112rpx 0 44rpx;
    div {
      width: 218rpx;
      height: 76rpx;
      line-height: 76rpx;
      border-radius: 24rpx;
      font-family: Plus Jakarta Sans;
      font-size: 28rpx;
      font-weight: 600;
      letter-spacing: 0.004999999888241291%;
      text-align: center;
    }
    .left {
      background: rgb(18, 25, 66);
      color: rgb(254, 254, 254);
    }
    .right {
      color: rgb(120, 130, 138);
    }
  }
  .cart {
    display: flex;
    width: 654rpx;
    height: 348rpx;
    background: rgb(246, 248, 254);
    border-radius: 32rpx;
    box-sizing: border-box;
    padding: 44rpx 24rpx;
    .cartleft {
      margin-right: 24rpx;
      img {
        width: 156.74rpx;
        height: 156.74rpx;
        // background: url();
        border-radius: 24rpx;
        transform: rotate(-180deg);
        background-color: green;
      }
    }
    .cartright {
      width: 420rpx;
      height: 260rpx;
      .name {
        height: 48rpx;
        color: rgb(23, 23, 37);
        font-family: Plus Jakarta Sans;
        font-size: 32rpx;
        font-weight: 700;
        line-height: 48rpx;
        letter-spacing: 0.004999999888241291%;
        text-align: left;
      }
      .job {
        height: 40rpx;
        color: rgb(102, 112, 122);
        font-family: Plus Jakarta Sans;
        font-size: 24rpx;
        font-weight: 500;
        line-height: 40rpx;
        letter-spacing: 0.004999999888241291%;
        text-align: left;
      }
      .time {
        display: flex;
        width: 380rpx;
        height: 40rpx;
        margin-top: 32rpx;
        .week {
          display: flex;
          align-items: center;
          width: 110rpx;
          height: 40rpx;
          color: rgb(23, 23, 37);
          font-family: Plus Jakarta Sans;
          font-size: 24rpx;
          font-weight: 600;
          line-height: 40rpx;
          letter-spacing: 0.004999999888241291%;
          &::before {
            content: "";
            display: block;
            width: 16rpx;
            height: 16rpx;
            margin-right: 6rpx;
            background: url("../../static/images/home/Calendar.png");
          }
        }
        .what_time {
          display: flex;
          align-items: center;
          width: 236rpx;
          height: 40rpx;
          color: rgb(23, 23, 37);
          font-family: Plus Jakarta Sans;
          font-size: 24rpx;
          font-weight: 600;
          line-height: 40rpx;
          letter-spacing: 0.004999999888241291%;
          &::before {
            content: "";
            display: block;
            width: 16rpx;
            height: 16rpx;
            margin-right: 6rpx;
            background: url("../../static/images/home/TimeCircle.png");
          }
        }
      }
      .x_button {
        display: flex;
        width: 420rpx;
        height: 60rpx;
        margin-top: 32rpx;
        .left_button {
          width: 198rpx;
          height: 60rpx;
          box-sizing: border-box;
          border: 2rpx solid rgb(18, 25, 66);
          border-radius: 24rpx;

          color: rgb(18, 25, 66);
          font-family: Plus Jakarta Sans;
          font-size: 24rpx;
          font-weight: 600;
          line-height: 60rpx;
          letter-spacing: 0.004999999888241291%;
          text-align: center;
        }
        .right_button {
          width: 198rpx;
          height: 60rpx;
          background: rgb(18, 25, 66);
          border-radius: 24rpx;

          color: rgb(254, 254, 254);
          font-family: Plus Jakarta Sans;
          font-size: 24rpx;
          font-weight: 600;
          line-height: 56rpx;
          letter-spacing: 0.004999999888241291%;
          text-align: center;
        }
      }
    }
  }
}
</style>
